<?xml version="1.0" encoding="utf8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Single Series Chart</title>
<link rel="stylesheet" href="../../Contents/Style.css" type="text/css" />
<script language="JavaScript" src="../../JSClass/FusionCharts.js"></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="3" align="center">
  <tr><th>User Account</th><th>ชื่อ-นามสกุล</th><th>วัน เวลา</th></tr>
  <%@logs.each do |log|%>
<%begin%>
	  <tr>
            <td><a href="profile/<%=log.params[:username]%>"><%=log.params[:username]%></a></td>
            <%user = User.find(:first, :conditions=>["login=?", log.params[:username]])%>
            <td><%if user%><%=user.title%><%=user.fname%> <%=user.lname%><%end%></td>
            <td><%=date_thai log.created_at, :time=>true %></td></tr>
<%rescue%><%end%>
 <%end%>
</table><br/>
<%=will_paginate @logs%>
</body>
</html>